package com.example.admin.mapper;


import com.example.admin.entity.ServiceStaff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ServiceStaffMapper {

    List<ServiceStaff> getServiceStaffPage();

    int deleteById(@Param("id") Integer id);

    int addServiceStaff(@Param("serviceStaff") ServiceStaff serviceStaff);

    int editServiceStaffInfo(@Param("serviceStaff") ServiceStaff serviceStaff);

    List<ServiceStaff> selectByName(@Param("name") String name);
}
